<?php
namespace app\controllers;

use Yii;
use yii\web\Controller;
use app\models\Addnews;

class ShowController extends Controller{
	
	public function actionIndex(){
		$model = Addnews::find()->all();
		
		return $this->render('index',['model'=>$model]);
	}
}
